package structure.facade.facade_demo1;

/**
 * @author yeyangtao
 * @date 2020/6/23 16:39
 */
public class FacadeMaker {
    private Shape circle;
    private Shape rectangle;

    public FacadeMaker() {
        this.circle = new Circle();
        this.rectangle = new Rectangle();
    }

    public void drawCircle() {
        circle.draw();
    }

    public void drawRectangle() {
        rectangle.draw();
    }
}
